package com.qianfeng.shopping.entity;
// 实体类
public class Account {
	private String accountId;
	private String accountName;
	private String accountRealName;
	private String accountPwd;
	private String accountPhone;
	private String accountBirthday;
	private Role role;
	private Level level;

	public Level getLevel() {
		return level;
	}

	public void setLevel(Level level) {
		this.level = level;
	}

	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public String getAccountRealName() {
		return accountRealName;
	}
	public void setAccountRealName(String accountRealName) {
		this.accountRealName = accountRealName;
	}
	public String getAccountPwd() {
		return accountPwd;
	}
	public void setAccountPwd(String accountPwd) {
		this.accountPwd = accountPwd;
	}
	public String getAccountPhone() {
		return accountPhone;
	}
	public void setAccountPhone(String accountPhone) {
		this.accountPhone = accountPhone;
	}
	public String getAccountBirthday() {
		return accountBirthday;
	}
	public void setAccountBirthday(String accountBirthday) {
		this.accountBirthday = accountBirthday;
	}
	public Account(String accountId, String accountName, String accountRealName, String accountPwd, String accountPhone,
			String accountBirthday) {
		super();
		this.accountId = accountId;
		this.accountName = accountName;
		this.accountRealName = accountRealName;
		this.accountPwd = accountPwd;
		this.accountPhone = accountPhone;
		this.accountBirthday = accountBirthday;
	}
	public Account() {
		super();
	}
	
	public Account(String accountId, String accountName, String accountRealName, String accountPwd, String accountPhone,
			String accountBirthday, Role role) {
		super();
		this.accountId = accountId;
		this.accountName = accountName;
		this.accountRealName = accountRealName;
		this.accountPwd = accountPwd;
		this.accountPhone = accountPhone;
		this.accountBirthday = accountBirthday;
		this.role = role;
	}

	@Override
	public String toString() {
		return "Account{" +
				"accountId='" + accountId + '\'' +
				", accountName='" + accountName + '\'' +
				", accountRealName='" + accountRealName + '\'' +
				", accountPwd='" + accountPwd + '\'' +
				", accountPhone='" + accountPhone + '\'' +
				", accountBirthday='" + accountBirthday + '\'' +
				", role=" + role +
				", level=" + level +
				'}';
	}
}
